bitkeeper revision 1.1159.223.2 (41ed3b32oUZznRTHk1xuGyZVTcWuvg)
authorsos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Tue, 18 Jan 2005 16:37:06 +0000 (16:37 +0000)
committersos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Tue, 18 Jan 2005 16:37:06 +0000 (16:37 +0000)
Get the domain to access from the right element of the union when setting up
VM assists.

xen/common/dom0_ops.c

index 5622ae174e7c8ce223151d4cd996f433aeda65d0..4af61010df1d8ae6e11113516dbc888b87b541a2 100644 (file)
@@ -640,7 +640,7 @@ long do_dom0_op(dom0_op_t *u_dom0_op)
     {
         struct domain *d; 
         ret = -ESRCH;
-        d = find_domain_by_id( op->u.setdomainmaxmem.domain );
+        d = find_domain_by_id( op->u.setdomainvmassist.domain );
         if ( d != NULL )
         {
             vm_assist(d, op->u.setdomainvmassist.cmd,